Math.decimalPlaces Method

Determines the number of fractional digits present in the specified value.
 
 
Static This method is static.

Parameters

value

Type: Number
A double-precision floating-point value.

Return Value


Type: Number (Integer)
The number of fractional digits.